package com.fast.controller.delay;

import com.baomidou.mybatisplus.extension.api.R;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.config.ConfigurableBeanFactory;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import java.util.concurrent.Callable;

/**
 * @author hujw
 * @since 2022/1/25
 */
@Component
@Slf4j
@Scope(value = ConfigurableBeanFactory.SCOPE_PROTOTYPE)
@Setter
public class DelayTask implements Callable<R> {
    public  String nsrsbh;
    public  String sid;
    public  int i;


    @Override
    public R call() throws Exception {
        System.out.println(i+"+"+nsrsbh+"+"+sid);
        return null;
    }
}
